package com.base.user.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.base.user.entity.Friends;

@Component("friendsDao")
public interface FriendsDAO
{
	void save(Friends friend);
	
	void delete(long id);
	
	Friends getById(long id);
	
	void update(Friends friends);
	
	List<Friends> getAllFriendsByMemberId(long memberId);
	
	Friends getByMap(Map<String, Object> params);
	
	List<Long> query(Map<String, Object> params);
	
	int count(Map<String, Object> params);
}
